

/* init */
.dd-clear { zoom:1; }
.dd-clear:after { content:''; display:block; clear:both; }
.dd-fl { float:left; }
.dd-fr { float:right; }
.dd-db{
    display: block;
}

.dd-row{
    display: flex;
    flex-direction: row;
}t

.dd-column{
    display: flex;
    flex-direction: column;
}

/*固定到底部  */
.dd-fixed-bottom{
    position: fixed;
    bottom: 0;
    width: 100%
}
/*固定到顶部  */
.dd-fixed-top{
    position: fixed;
    top: 0;
    width: 100%
}
/* flex水平居中同时垂直居中 */
.dd-center{
    justify-content: center;
    align-items: center;
    text-align: center;
}
/* 水平居中 */
.dd-h-center{
    justify-content: center;
    text-align: center;
}
/* 垂直居中 */
.dd-v-center{
    align-items: center;
}
/* 一个内部元素 水平靠右边 */
.dd-h-right{
    justify-content: flex-end;
}
/* 两个内部元素 靠在两边 */
.dd-h-2side{
    justify-content: space-between;
}
/* 另一边宽度固定后， 这边宽度自适应  */
.dd-flex1{
    flex: 1;
}
/* 快元素化 */
.db{
    display: block;
}
/* input 样式 */
.dd-input{
    min-width: 200pt;
    min-height:28pt ;
}

/* dd-btn 按钮样式 */
:root{
    --btn-padding:3pt 13pt;
}
.dd-btn-red{
    outline: none;
    border: 1px solid transparent;
    cursor: pointer;
    background-color: #c82333;
    color: white;
    font-size: 12pt;
    font-weight: 400;
    text-align: center;
    padding: var(--btn-padding);
}
.dd-btn-red:hover{
    background-color: #b11f2d;    
}
.dd-btn-ccc{
    outline: none;
    border: 1px solid transparent;
    cursor: pointer;
    background-color: #ccc;
    color: #000;
    font-size: 12pt;
    font-weight: 400;
    text-align: center;
    padding: var(--btn-padding);
}
.dd-btn-ccc:hover{
    background-color: rgb(161, 160, 160);
}
.dd-btn-yellow{
    outline: none;
    border: 1px solid transparent;
    cursor: pointer;
    background-color: rgb(228, 228, 44);
    color: #000000;
    font-size: 12pt;
    font-weight: 400;
    text-align: center;
    padding: var(--btn-padding);
}
.dd-btn-yellow:hover{
    background-color: #97a834;
}

/* end init */